package com.myhome.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author QYiXin
 * @Date 2021 10 25 19 28
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CashParam {
    @ApiModelProperty(value = "币种的ID")
    @NotNull
    private Long coinId ;

    @ApiModelProperty(value = "购买的数量")
    @NotNull
    private BigDecimal num ;

    @ApiModelProperty(value = "实际金额")
    @NotNull
    private BigDecimal mum ;
}
